package cn.wolfcode.crm.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
public class Guaranteebill {

    public static final int STORAGE_STATE = 1;
    public static final int CHECK_STATE = 2;
    public static final int WAITAUTID_STATE = 3;
    public static final int AUTIDSUCCESS_STATE = 4;
    public static final int BILL_STATE = 5;

    private Long id;
    //保单号
    private String number;
    //整式客户Id
    private Long applicantId;
    //开启业务的时间
    private Date vdate;

    //登录人的id
    private Long opId;

    //在商品表计算
    private Integer totalprice;

    //车id
    private Long carId;

    //保单的状态,暂存1, 批改2, 提交未审核3, 审核成功4, 缴费5
    private int state;

    //审核id
    private Long auditId;

    //保险的年数
    private Integer limityear;

    //批改意见
    private String info;

    //审核时间
    private Date auditdate;

    //开始
    private Date begindate;
    //结束
    private Date enddate;
}